package com.my.jli.Service;

import com.my.jli.entity.Teacher;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName TeacherService
 * @Description
 * @Author MaYu
 * @Date 2022/1/27 19:27
 * @Version 1.0
 **/
@Service
public interface TeacherService {
    //获取所有教师
    List<Teacher> getAll();
    //根据工号密码获取教师
    List<Teacher> findByNumAndPwd(String num, String pwd);
}
